package com.example.xm.ui.shop;

import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.example.xm.R;
import com.example.xm.base.BaseFragment;
import com.example.xm.base.BasePresenter;

import butterknife.BindView;

public class ShopFragment extends BaseFragment {
    @BindView(R.id.webview)
    WebView webview;

    @Override
    protected BasePresenter initPresenter() {
        return null;
    }

    @Override
    protected int getLayout() {
        return R.layout.fragment_shop;
    }

    @Override
    protected void initView() {
        webview.loadUrl("http://tongpao.whfpsoft.com:8095/");
        webview.setWebViewClient(new WebViewClient());
        webview.getSettings().setJavaScriptEnabled(true);
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initListener() {

    }

    @Override
    public void showTips(String tips) {

    }

    @Override
    public void showLoading(int visble) {

    }
}
